import styled from "styled-components"

export default styled.div`
  /* 导航栏 */
  .w {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    .logo-nav {
      display: flex;
      align-items: center;
      .logo-img {
        height: 70px;
        margin-right: 50px;
      }
      .nav {
        display: flex;
        .nav-item {
          height: 70px;
          line-height: 70px;
          padding: 0 20px;
          &.active {
            border-bottom: 2px solid #68ac08;
          }
        }
      }
    }
    .operation {
      display: flex;
      gap: 20px;
      .iconfont {
        font-size: 22px;
      }
      .search {
        position: relative;
        width: 220px;
        height: 25px;
        &::before {
          content: "\ue699";
          font-family: "iconfont";
          position: absolute;
          top: 50%;
          left: 10px;
          transform: translateY(-45%);
          font-size: 20px;
        }
        .searchBtn {
          width: 100%;
          height: 100%;
          padding-left: 33px;
          border: 1px solid #999;
          border-radius: 15px;
        }
      }
    }
  }

`